package com.example.dzbsh.dao;

import com.example.dzbsh.model.JingshangQingkuang;
import com.example.dzbsh.model.JingshangQingkuangExample;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

public interface JingshangQingkuangMapper {

    Object getCount();

    List<Map<String,Object>> selectValid();

    List<Map<String,Object>> findbyshenfenzhenghaoandShehuixinyongdaima(@Param("shenfenzhenghao")String ppShenfenzhenghao,@Param("shehuixinyongdaima")String ppShehuixingyongdaima);

    List<String> selectIdList();

    List<Map<String,Object>> findByJiashuId(String ppJiashuid);

    Object countByJiashuId(@Param("jiashuid")String ppJiashuId);

    List<Map<String, Object>> findJingshangqingkuangByPage(@Param("startindex")int ppPageIndex, @Param("pagesize")int ppPageSize);

    List<Map<String, Object>> findJiashuByRenyuanIdAndLeixing(@Param("renyuanid")String ppRenyuanId,@Param("leixing")String ppLeixing);

    List<Map<String, Object>> findByJiashuIdAndLeixing(@Param("jiashuid")String ppJiashu,@Param("leixing")String ppLeixing);

    Object getCountByzhuangtaiAndRenyuanId(@Param("renyuanid") String mmRenyuanId);

    List<Map<String, Object>> findValid(@Param("jiashuid")String jiashuid);

    List<String> findAllId();

    int countByExample(JingshangQingkuangExample example);

    int deleteByExample(JingshangQingkuangExample example);

    int deleteByPrimaryKey(String id);

    int insert(JingshangQingkuang record);

    int insertSelective(JingshangQingkuang record);

    List<JingshangQingkuang> selectByExample(JingshangQingkuangExample example);

    JingshangQingkuang selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") JingshangQingkuang record, @Param("example") JingshangQingkuangExample example);

    int updateByExample(@Param("record") JingshangQingkuang record, @Param("example") JingshangQingkuangExample example);

    int updateByPrimaryKeySelective(JingshangQingkuang record);

    int updateByPrimaryKey(JingshangQingkuang record);
}